package com.ruoyi.goods.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.entity.SysUser;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单详情对象 order_details
 * 
 * @author ruoyi
 * @date 2025-01-11
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class OrderDetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单详情唯一标识符，自增 */
    private Long id;

    /** 订单编号 */
    private String orderId;

    /** 商品 ID */
    private Long productId;

    /** 用户 ID */
    private Long userId;

    /** 收货地址id */
    private String addressid;

    /** 逻辑删除标识，默认不删除 */
    @Excel(name = "逻辑删除标识，默认不删除")
    private Integer isDeleted;

    /** 当前下单时间 */


    private String datatime;
    @TableField(value = "products")
    private Products products;
    @TableField(value = "shippingAddresses")
    private ShippingAddresses shippingAddresses;
    @TableField(value = "sysUser")
    private SysUser sysUser;
}
